import{d as f,aQ as p,b as i,o as n,a as _,c,e as o,t as a,u as e,w as m,f as r,g,B as s,F as d}from"./CtbHscGXagutd.js";import{s as k,_ as $}from"./BVpDsSgy3NQils.js";import{_ as S}from"./BO-1Nlv-3PfrX1.js";import{_ as l}from"./DxtVL4raPQMM7.js";import"./CtybWkkwagutd.js";import"./Bd3I5s_D3Xa3MT.js";import"./Bz2936FN3aD96J.js";const B={key:0},M=f({__name:"app-settings-moneymoney",setup(C){const y=p();return(t,N)=>(n(),i(d,null,[_("h3",null,a(t.$t("settings.moneymoney.title")),1),e(y)?(n(),c(e(l),{key:0,title:t.$t("settings.moneymoney.syncActionTitle")},{default:m(({id:u})=>[r(e(S),{onClick:e(k)},{default:m(()=>[g(a(t.$t("settings.moneymoney.syncNow")),1)]),_:1},8,["onClick"]),e(s).mmLastSync?(n(),i("p",B,a(t.$t("settings.moneymoney.lastSync",[new Date(e(s).mmLastSync).toLocaleString()])),1)):o("",!0)]),_:1},8,["title"])):o("",!0),e(s)?.mmAccounts?(n(),c(e(l),{key:1,title:t.$t("settings.moneymoney.syncAccounts")},{default:m(({id:u})=>[r($,{config:e(s)},null,8,["config"])]),_:1},8,["title"])):o("",!0)],64))}});export{M as default};